home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
GRAPTIES
/
SHOW1.LZH
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1991-10-07
|
720b
|
35 lines
@echo off
set srcdrv=A
set tgtdrv=C
set tgtdir=\SPLITE
if "%3" == "" goto x3
set srcdrv=%1
set tgtdrv=%2
set tgtdir=%3
goto x4
:x3
if "%2" == "" goto x2
set srcdrv=%1
set tgtsrv=%2
goto x4
:x2
if "%1" == "" goto x4
set tgtdrv=%1
:x4
echo ......... About to install Show Partner Lite from %srcdrv%: to %tgtdrv%:%tgtdir%
echo .........
echo ......... If this is not correct, press CTRL-BREAK now and use:
echo .........
echo ......... INSTALL [source floppy] [target hard drive] [target dir]
echo .........
echo ......... Example: INSTALL B D \APPS\SPLITE
echo .........
pause
%tgtdrv%:
md %tgtdir% >nul
cd %tgtdir%
copy %srcdrv%:spinst2.bat
copy %srcdrv%:pkunzip.exe
spinst2